package spynx.net.core;

import java.util.Date;

public class Cookie {
	
	private String value, domain;
	private Date expiredDate;
	private boolean secured, httpOnly;
	
	public Cookie(String cookie) {
		
	}
	
	public Cookie() {
		
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getValue() {
		return value;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public String getDomain() {
		return domain;
	}

	public void setExpiredDate(Date expiredDate) {
		this.expiredDate = expiredDate;
	}

	public Date getExpiredDate() {
		return expiredDate;
	}

	public void setSecured(boolean secured) {
		this.secured = secured;
	}

	public boolean isSecured() {
		return secured;
	}

	public void setHttpOnly(boolean httpOnly) {
		this.httpOnly = httpOnly;
	}

	public boolean isHttpOnly() {
		return httpOnly;
	}
	
	
}
